import {get, post} from "@/utils/http.js"


export function mailReceiverList(param){
    let url = "/api/mailReceiverList"
    return get(url, param);
}


export function mailReceiverAdd(param){
    let url = "/api/mailReceiverAdd"
    return post(url, param);
}

export function mailReceiverDelete(param){
    let url = "/api/mailReceiverDelete"
    return get(url, param);
}

export function mailReceiverUpdate(param){
    console.log("update receiver:", param)
    let url = "/api/mailReceiverUpdate"
    return post(url, param);
}
